{include_core file="admin/lib/header.html"}
  {*<div class="page-header border-bottom clearfix">
    <h2 class="left">订单管理<span>在这里对订单进行管理</span></h2>
  </div>*}
  <style>
  td{
    width:25%;
  }
  
  </style>
  {if $role_id == user_config::ADMIN || $role_id == user_config::FINANCIAL_MANAGEMENT || $role_id == user_config::ASSISTANT}
  <table class="list-table goods-table">
    <thead>
      <tr>
        <th colspan="4">合伙人相关统计信息</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>合伙人数量</td>
        <td><span class="red">{$admin_data_list.dealer_data.dealer_num}</span></td>
        <td>今日新增</td>
        <td><span class="red">{$admin_data_list.dealer_data.today_add_dealer_num} / {$admin_data_list.dealer_data.dealer_growth_rate}%</span></td>
      </tr>
      <tr>
        <td>成交订单数/已收到款项</td>
        <td><span class="red">{$admin_data_list.dealer_data.dealer_order_num} / {$admin_data_list.dealer_data.dealer_order_money}元</span></td>
        <td>已成功出货</td>
        <td><span class="red">{$admin_data_list.dealer_data.delivery_goods_num}箱</span></td>
      </tr>
      <tr>
        <td>待收款订单/等待收款项</td>
        <td><span class="red">{$admin_data_list.dealer_data.prepare_dealer_order_num} / {$admin_data_list.dealer_data.prepare_dealer_order_money}元</span></td>
        <td>等待发货</td>
        <td><span class="red">{$admin_data_list.dealer_data.prepare_delivery_order_num}箱</span></td>
      </tr>
      <tr>
        <td>合伙人库存数据</td>
        <td><a href="{AnUrl('dealers/admin/show_dealer_store_goods_list')}" class="red">{$admin_data_list.dealer_data.all_dealer_stock}箱</a></td>
        <td>合伙人总员工</td>
        <td><span class="red">{$admin_data_list.dealer_data.marketing_num}</span></td>
      </tr>
    </tbody>
  </table>
  <table class="list-table goods-table">
    <thead>
      <tr>
        <th colspan="4">终端门店相关统计信息</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>终端店铺数量</td>
        <td><span class="red">{$admin_data_list.store_data.store_num}</span></td>
        <td>今日新增</td>
        <td><span class="red">{$admin_data_list.store_data.today_add_store_num} / {$admin_data_list.store_data.store_growth_rate}%</span></td>
      </tr>
      <tr>
        <td>已进货门店数量</td>
        <td><span class="red">{$admin_data_list.store_data.is_stock_store_num}</span></td>
        <td>未进货门店数量</td>
        <td><span class="red">{$admin_data_list.store_data.not_stock_store_num}</span></td>
      </tr>
      <tr>
        <td>门店订单总量</td>
        <td><span class="red">{$admin_data_list.store_data.store_order_num}</span></td>
        <td>今日新增订单量</td>
        <td><span class="red">{$admin_data_list.store_data.store_new_order_num}</span></td>
      </tr>
    </tbody>
  </table>
  {/if}
  {* <table class="list-table goods-table" style="margin-top:30px;">
    <thead>
      <tr>
        <th colspan="4">系统信息</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>服务器操作系统</td>
        <td>{php_uname('s')}</td>
        <td>WEB服务器</td>
        <td>Nginx 0.8.55</td>
      </tr>
      <tr>
        <td>PHP版本</td>
        <td>{$smarty.const.PHP_VERSION}</td>
        <td>MySQL版本</td>
        <td>5.5.1</td>
      </tr>
      <tr>
        <td>Socket支持</td>
        <td>{extension_loaded('sockets')}</td>
        <td>时区设置</td>
        <td>{date_default_timezone_get()}</td>
      </tr>
      <tr>
        {$gd_info = gd_info()}
        <td>GD版本</td>
        <td>{$gd_info['GD Version']}</td>
        <td>文件上传最大大小</td>
        <td>{ini_get('upload_max_filesize')}</td>
      </tr>
    </tbody>
  </table> *}
  
<div class="float-bg" style="z-index: 19999; display: none"></div>
{include_core file="admin/lib/footer.html"}